package com.kingdee.eas.custom.hspro.fund.capitalbudgetbase;

import com.kingdee.bos.dao.AbstractObjectCollection;
import com.kingdee.bos.dao.IObjectPK;

public class WaysOfInvestmentCollection extends AbstractObjectCollection 
{
    public WaysOfInvestmentCollection()
    {
        super(WaysOfInvestmentInfo.class);
    }
    public boolean add(WaysOfInvestmentInfo item)
    {
        return addObject(item);
    }
    public boolean addCollection(WaysOfInvestmentCollection item)
    {
        return addObjectCollection(item);
    }
    public boolean remove(WaysOfInvestmentInfo item)
    {
        return removeObject(item);
    }
    public WaysOfInvestmentInfo get(int index)
    {
        return(WaysOfInvestmentInfo)getObject(index);
    }
    public WaysOfInvestmentInfo get(Object key)
    {
        return(WaysOfInvestmentInfo)getObject(key);
    }
    public void set(int index, WaysOfInvestmentInfo item)
    {
        setObject(index, item);
    }
    public boolean contains(WaysOfInvestmentInfo item)
    {
        return containsObject(item);
    }
    public boolean contains(Object key)
    {
        return containsKey(key);
    }
    public int indexOf(WaysOfInvestmentInfo item)
    {
        return super.indexOf(item);
    }
}